export default () => {
    let json = ref({
        title: '明细',
        show: false,
        width: '80%',
        frame: true,
        load: false,
        data: {
            list: [],
            current: 1,
            size: 15,
            total: 0
        },
        config: function (title, width, frame) {
            json.value.title = title
            json.value.width = width
            json.value.frame = frame
        }
    })
    return json
}